package com.example.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @Description:
 * @Author: WengYu
 * @CreateTime: 2022/06/01 01:35
 */
@Configuration
public class MyConfig {
    @Bean
    public RestTemplate createRestTemplate(){
        return new RestTemplate();
    }
}
